package com.luchao.back.mapper;

import com.luchao.back.pojo.Sizes;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SizesMapper {

    List<Sizes> getSizesByPage(@Param("startNum") int startNum, @Param("pageSize") int pageSize);

    int addSizes(Sizes sizes);

    int editSizes(Sizes sizes);

    long getSizesCount();

    int checkSizes(float sizenum);

    List<Sizes> getAllSizes();

    int batchChangeState(List<Sizes> sizes);

    List<Sizes> getAllSizesForView();
}
